﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainFrm.Master" AutoEventWireup="true" CodeBehind="WaitCollecList.aspx.cs" Inherits="Ewts.Storage.WaitCollecList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<link rel="stylesheet" href="/jquery/jquery.dataTables.css"type="text/css" />
 
<script type="text/javascript" src="/jquery/jquery-1.8.3.min.js"></script>
 
<script type="text/javascript" src="/jquery/jquery.dataTables.js"></script>
 </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="EwtsConext" runat="server">
<div class="tab1">
	<h2>待收货列表</h2>
<br />
    <!--一个表单-->
    处理地：
    <asp:DropDownList ID="dropBelong" runat="server" 
        onselectedindexchanged="dropBelong_SelectedIndexChanged" AutoPostBack="true"  >
<%--        <asp:ListItem Text="全部" Value=""></asp:ListItem>
        <asp:ListItem Text="上海" Value="上海"></asp:ListItem>
        <asp:ListItem Text="北京" Value="北京"></asp:ListItem>
        <asp:ListItem Text="苏州" Value="苏州"></asp:ListItem>
        <asp:ListItem Text="广州" Value="广州"></asp:ListItem>   --%>
    </asp:DropDownList>
<br />
<h3>收货派车</h3>
<div class="shadow">
      
     
 
    <table id="tbColl" class="display" cellpadding="0" cellspacing="0" border="0" style="width:100%;">
 
      <thead>
 
        <tr>
 
            <th>LoadNum</th>
            <th>CJO单</th>
            <th>处理地</th>
            <th>归属地</th>
            <th>客户名称</th>
             <th>收货地址</th>
             <th>业务员</th>
            <th>预计件数</th>
            <th>收货日期</th>
            <th>特殊要求</th>
            <th>操作</th>
        </tr>
 
      </thead>
 
      <tbody>
 
   <asp:Repeater ID="rept" runat="server">
  <ItemTemplate>
 
    <tr>
 
      <td><%# Eval("l_loadnumno")%></td>
      <td><%# Eval("c_cjonno")%></td>
      <td><%# Eval("l_rubbisharea")%></td>
      <td><%# Eval("belogcity")%></td>
      <td ><%# Eval("cum_name")%></td>
      <td title='<%# Eval("cumadd_address") %>'><%# GetSubString(Eval("cumadd_address").ToString(),5)%></td>
      <td><%# Eval("l_saleman").ToString().Replace('@','-').Replace('/','-')%></td>
 
      <td><%# Eval("v_numberestimate")%></td>
      <td><%# Eval("c_cjocolldate")%></td>
      <td title='<%# Eval("v_peculiarrequire") %>'> <%# GetSubString(Eval("v_peculiarrequire").ToString(), 5)%></td> 
      <td>  <a href="VehicleArrange.aspx?cjoid=<%# Eval("c_id") %>">收货派车</a> </td>
 
    </tr>
 
  </ItemTemplate>
 
    </asp:Repeater>
    <!--移库派车-->

    <asp:Repeater ID="reptOutStorage" runat="server">
    <ItemTemplate>
        <tr>
        <td><%# Eval("VLoadNum")%></td>
        <td><%# Eval("outStorageNo")%></td>
        <td><%# Eval("graphicCity")%></td>
        <td><%# Eval("belogarea")%></td>
        <td><%# GetCumByOutID(Eval("id"),1)%></td>
        <td></td>
        <td></td>
        <td></td>
        <td></td>
        <td></td>
        <td><a href="VehicleArrange.aspx?outid=<%# Eval("id") %>">移库派车</a></td
     </tr>
    </ItemTemplate>
    </asp:Repeater>

 
    </tbody>
 
    </table>
 
 


</div>

    <script type="text/javascript">

        $(document).ready(function () {

            $('#tbColl').dataTable({ "oLanguage": { "sUrl": "/jquery/jquery.dataTable.cn.txt" },
                "bJQueryUI": true,
                "sPaginationType": "full_numbers",
                'bPaginate': true,
                "bProcessing": true,
                "iDisplayLength": 20,
                "bSort": true,
                "aaSorting": [[0, "desc"]]
            });

        });
 
</script>
  
</div>
</asp:Content>
